package com.yxp423.ssmempl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yxp423.ssmempl.bean.Leave;
import com.yxp423.ssmempl.bean.User;
import com.yxp423.ssmempl.utils.base.AjaxResult;


public interface ILeaveService {


    AjaxResult saveLeaveApply(Leave leave);

    IPage<Leave> myLeave(User user, Page page);

    IPage<Leave> getReviewLeave(Page page,User user);

    AjaxResult updateLeave(Leave leave);
}
